package com.android.duininsuoai.model.group;

import java.util.List;

/**
 * Created by Administrator on 2017/6/29.
 */

public class DirectBuyData {

    /**
     * data : [{"id":"1","catname":"苹果专区","parentid":"0","arrparentid":"0","arrchildid":"1","thumb":"https://jingpai.lnest.cc//common/nopic.png","child":"0"},{"id":"2","catname":"手机平板","parentid":"0","arrparentid":"0","arrchildid":"2","thumb":"https://jingpai.lnest.cc//common/nopic.png","child":"0"},{"id":"43","catname":"卡券充值","parentid":"0","arrparentid":"0","arrchildid":"43","thumb":"https://jingpai.lnest.cc//common/nopic.png","child":"0"},{"id":"44","catname":"电脑数码","parentid":"0","arrparentid":"0","arrchildid":"44","thumb":"https://jingpai.lnest.cc//common/nopic.png","child":"0"},{"id":"45","catname":"家用电器","parentid":"0","arrparentid":"0","arrchildid":"45","thumb":"https://jingpai.lnest.cc//common/nopic.png","child":"0"},{"id":"63","catname":"美食天地","parentid":"0","arrparentid":"0","arrchildid":"63","thumb":"https://jingpai.lnest.cc//common/nopic.png","child":"0"},{"id":"110","catname":"十元专区","parentid":"0","arrparentid":"0","arrchildid":"110","thumb":"https://jingpai.lnest.cc//common/nopic.png","child":"0"},{"id":"3","catname":"日用百货","parentid":"0","arrparentid":"0","arrchildid":"3","thumb":"https://jingpai.lnest.cc//common/nopic.png","child":"0"},{"id":"33","catname":"奢侈品牌","parentid":"0","arrparentid":"0","arrchildid":"33","thumb":"https://jingpai.lnest.cc//common/nopic.png","child":"0"},{"id":"42","catname":"其他","parentid":"0","arrparentid":"0","arrchildid":"42","thumb":"https://jingpai.lnest.cc//common/nopic.png","child":"0"}]
     * flag : true
     * code : 0
     * msg : 操作成功
     * time : 1504943995
     */

    private boolean flag;
    private int code;
    private String msg;
    private int time;
    private List<DataBean> data;

    public boolean isFlag() {
        return flag;
    }

    public void setFlag(boolean flag) {
        this.flag = flag;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getTime() {
        return time;
    }

    public void setTime(int time) {
        this.time = time;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 1
         * catname : 苹果专区
         * parentid : 0
         * arrparentid : 0
         * arrchildid : 1
         * thumb : https://jingpai.lnest.cc//common/nopic.png
         * child : 0
         */
        public DataBean(String id,String catname,String parentid,String arrparentid,String arrchildid,String thumb,String child ){
            this.id= id;
            this.catname=catname;
            this.parentid=parentid;
            this.arrparentid=arrparentid;
            this.arrchildid=arrchildid;
            this.thumb=thumb;
            this.child=child;
        }
        private String id;
        private String catname;
        private String parentid;
        private String arrparentid;
        private String arrchildid;
        private String thumb;
        private String child;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getCatname() {
            return catname;
        }

        public void setCatname(String catname) {
            this.catname = catname;
        }

        public String getParentid() {
            return parentid;
        }

        public void setParentid(String parentid) {
            this.parentid = parentid;
        }

        public String getArrparentid() {
            return arrparentid;
        }

        public void setArrparentid(String arrparentid) {
            this.arrparentid = arrparentid;
        }

        public String getArrchildid() {
            return arrchildid;
        }

        public void setArrchildid(String arrchildid) {
            this.arrchildid = arrchildid;
        }

        public String getThumb() {
            return thumb;
        }

        public void setThumb(String thumb) {
            this.thumb = thumb;
        }

        public String getChild() {
            return child;
        }

        public void setChild(String child) {
            this.child = child;
        }

    }
}
